// Fill out your copyright notice in the Description page of Project Settings.
#include "EmyAnimNotifyEnd.h"
#include "EmyCharacter.h"

void UEmyAnimNotifyEnd::Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation)
{
    Super::Notify(MeshComp, Animation);
    if (AEmyCharacter* EmyChar = Cast<AEmyCharacter>(MeshComp->GetOwner()))
    {
        EmyChar->StopLightTimeLine();
    }
}
